package com.igoal.dao;

import java.util.List;

import com.igoal.entity.GoalCategory;
import com.igoal.entity.GoalCategoryPk;

public interface GoalCategoryDAO extends
		GenericDao<GoalCategory, GoalCategoryPk> {
	
	List<GoalCategory> findByCategory(Long categoryId);
	
	List<GoalCategory> findByGoal(Long goalId);
	
	boolean exists(Long goalId, Long categoryId);
}
